package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 审核步骤表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "examine_step")
public class ExamineStep implements Serializable {
    /**
     * 步骤ID
     */
    @TableId(value = "step_no", type = IdType.INPUT)
    private Integer stepNo;

    /**
     * 步骤类型 1、负责人主管，2、指定用户（任意一人），3、指定用户（多人会签）,4、上一级审批人主管
     */
    @TableField(value = "step_type")
    private Integer stepType;

    /**
     * 审批ID
     */
    @TableField(value = "examine_id")
    private Integer examineId;

    /**
     * 审批人ID (使用逗号隔开) ,1,2,
     */
    @TableField(value = "check_user_id")
    private String checkUserId;

    /**
     * 排序
     */
    @TableField(value = "step_num")
    private Integer stepNum;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;

    private static final long serialVersionUID = 1L;
}